var dayuanit = {
    ajax : function (url, requestParam, successCallback) {
        $.ajax({
            url : url,
            type : 'POST',
            data : requestParam,
            success : function (result) {
                if (result.code != 1000) {
                    alert(result.message);
                    if (result.code == 5000) {
                        window.location.href = '/toLogin.do';
                    }
                    return;
                }
                successCallback(result);
            }
        });
    }
}